package cn.kgc.airquality.airquality.service.impl.impl;

import cn.kgc.airquality.airquality.mapper.DistrictMapper;
import cn.kgc.airquality.airquality.pojo.District;
import cn.kgc.airquality.airquality.service.impl.DistrictService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author shkstart
 * @create 2020-05-20 9:48
 */
@Service
public class DistrictServiceImpl implements DistrictService{
    @Resource
    DistrictMapper districtMapper;
    @Override
    public List<District> selectAll() {
        List<District>districtList=districtMapper.selectByExample(null);
        return districtList;
    }
}
